-- GENERATED SPELL FOR [Black Ravager] --


function spell0_628(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_628', 15000, 1)
end

function Sorts_628(pUnit, Event)
local choix_sorts_628 = math.random(0, 0)
if choix_sorts_628 == 0 then
pUnit:RegisterEvent('spell0_628', 1, 1)
end
end

function mob628_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_628', math.random(1500, 3000), 1)
end

function mob628_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob628_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob628_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(628, 1, 'mob628_Action')
RegisterUnitEvent(628, 2, 'mob628_Leave')
RegisterUnitEvent(628, 3, 'mob628_Kill')
RegisterUnitEvent(628, 4, 'mob628_Die')
